//
//  Hello.m
//  random
//
//  Created by chenyh on 2021/2/19.
//

#import <Foundation/Foundation.h>
#include <stdlib.h>
class Hello {
private:
    id greeting_text;
public:
    Hello() {
        greeting_text = @"Hello,world!";
    }
    Hello(const char * initial_greeting_text) {
        greeting_text = [[NSString alloc] initWithUTF8String:initial_greeting_text];
    }
    void say_hello() {
        printf("%s/n", [greeting_text UTF8String]);
    }
};
